\pard\tx1140\tx2300\tx3440\tx4600\tx5760\tx6900\tx8060\tx9200\tx10360\tx11520\fc0 How
\pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\fc0 can I make the Workspace Tools Inspector recognize my application as one of the default tools for the TIFF files? Currently, when clicking on a TIFF file in Workspace, the default tools are Workspace, Icon, Scene, and Edit.
\i \
\
\i0 A:
\pard\tx1140\tx2300\tx3440\tx4600\tx5760\tx6900\tx8060\tx9200\tx10360\tx11520\fc0 You
\pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\fc0 must perform the following steps:\
\
1. Use the Inspector Panel in Interface Builder to modify the
\b Project Attributes
\b0 of your application. \
Click on
\b Doc1.
\b0 Enter
\b tiff
\b0 as the Document Extension. If you want to specify an icon for your tiff document, you can specify one by using the SET button (refer to appkit.97 for more details).
2. To verify that you have done the proper steps, you can view the file test.iconheader, assuming that your application's name is test. It should list one line for your application icon, and one line for your tiff document icon, if you have specified one.\
Example:
\f3\fs24 F test test app\
S tiff test tiff\
\
\f0\fs28 3. Make sure that your application resides in the workspace default search path, which is\
\pard\tx1140\tx2300\tx3440\tx4600\tx5760\tx6900\tx8060\tx9200\tx10360\tx11520\f0\fs28\fc0 For example, you can add it to your local Apps directory (~/Apps). See also NextAnswers workspace.658 if you want to modify the workspace default search path.\
\f3\fs24
\f0\fs28 \
4. In Workspace, select View, update Viewers (or Command u) to update the File Viewer. Bring up the Workspace Tools Inspector. When you drop a TIFF file into the Tools inspector, you should see the test app as an additional default tool. You can specify your test app as the default tool now by selecting it and clicking OK.